package com.jumi.microservice.entity;

    import java.math.BigDecimal;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 用户额外折扣
    * </p>
*
* @author 要挑客户管理团队
* @since 2020-10-15
*/
    @ApiModel(value="JmExtraDiscount对象", description="用户额外折扣")
    public class JmExtraDiscount implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "用户id")
    private Integer uid;

            @ApiModelProperty(value = "额外折扣")
    private BigDecimal discount;

            @ApiModelProperty(value = "添加时间")
    private Integer addTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getUid() {
        return uid;
        }

            public void setUid(Integer uid) {
        this.uid = uid;
        }
        public BigDecimal getDiscount() {
        return discount;
        }

            public void setDiscount(BigDecimal discount) {
        this.discount = discount;
        }
        public Integer getAddTime() {
        return addTime;
        }

            public void setAddTime(Integer addTime) {
        this.addTime = addTime;
        }

    @Override
    public String toString() {
    return "JmExtraDiscount{" +
            "id=" + id +
            ", uid=" + uid +
            ", discount=" + discount +
            ", addTime=" + addTime +
    "}";
    }
}
